package com.ljf.authority.dto.command;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.validation.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * API列表定义--修改激活状态  authority_base_api_tabulation
 *
 * @author LJF
 * @since 2025-06-21
 */
@Data
@ApiModel("API列表定义--修改激活状态")
public class AuthorityBaseApiTabulationActivationCommand implements Serializable {

    @JsonProperty("ids")
    @ApiModelProperty(value = "ID(集合)")
    @NotNull(message = "ID集合不能为空", groups = {UpdateGroup.class})
    private List<Long> ids;

    @JsonProperty("activation")
    @ApiModelProperty(value = "激活状态")
    private Integer activation;

}
